package JavaBase.Proxy.MineProxy;
import JavaBase.Proxy.JDKProxySubject;

import java.lang.reflect.Method;
class $Proxytry implements JavaBase.Proxy.Subject{
    private JavaBase.Proxy.MineProxy.MyInvocationHandler h;
    public $Proxytry(JavaBase.Proxy.MineProxy.MyInvocationHandler handler) {h=handler;}
    public $Proxytry(){;}

    public void request(){
        try{
            Method m = JavaBase.Proxy.Subject.class.getMethod("request");
            h.invoke(this,m,new Object[]{null});
        }catch(Throwable e){
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        System.out.println($Proxytry.class.getConstructors().length);
        System.out.println(JDKProxySubject.class.getConstructors().length);

    }
}